067 button and switches

大家好,这个视频我们要继续学习himi。
Hello, in this video, we are going to continue to learn himi.

我们将在本视频中学习按钮和开关,首先,我将转到 Main Albe,首先,我们将创建一个非常非常基本的程序。
Lessons and we will learn the buttons and switches in this video, first of all, I will go to Main Albe, first of all, and we will create a very, very basic program.

我将在此处添加一个开放触点和一个输出。
And I will add one open contact and one output to here.

想象这是一个零点零,输出是。
And imagine this is a zero point zero and the output is.

Q 零点零,让我们重命名这块牛排,好吧,然后说启动电机。
Q zero point zero, and let's rename this steak, OK, and say start motor.

好的,改变这个策略并重命名这个标签和电机像这样运行,好的,想象一下你想控制速度,我们是 Himi 并保持七百个基本的 pian Himi 添加到我的项目中,在这里你会看到我们有路屏。
OK, and change this tack and rename this tag and motor running like this, OK, and imagine you want to control the speed we are himi and keep seven hundred basic pian himi is added to my project and in here you will see just we have road screen.

好的,我将转到这个道路屏幕,现在在右侧您将看到工具箱,在那里您将看到元素。
OK, I will go to this road screen and now in the right side you will see the tool box and there you will see the elements.

好的,在这里您会看到这是我们的按钮。
OK, and in here you will see this is our button.

好的,那么这个按钮就添加到这里,我会为你把它弄大一点。
OK then this button is added to here and I will make it a little bit bigger for you.

现在我们可以转到属性,您也可以看到下侧,这些属性。
And now we can go to properties and also you can see the lower side, these properties.

首先,我将它放大一点给你,我们将看到这个按钮的外观。
First of all, I will make it a little bit bigger for you and we will see the appearance of this button.

这就是背景、颜色和背景图案。
And this is the background, color and background pattern.

您可以从此处选择这些内容,例如背景颜色。
You can select these things from here, for example, the background color.

但这只是一个非常基本的颜色类型 700 HimI。
But also this is just a very basic color type 700 himI.

因此,这是曼纳海姆,这是,呃,你无法使你的颜色,呃,适应整个颜色。
So because of this, this is the Mannerheim, this is, uh, you cannot adapt your colour, uh, to whole colors.

好的,那么您将看到颜色区域、边框、当前的背景颜色。
OK, so then you will see the color area, the border, the current, uh, background color.

这些并不是,呃,不可改变的。
And these are not, uh, unchangeable.

好的,只是,呃,你可以看到透明和实心以及水平渐变和垂直渐变。
OK, just, uh, you can see transparent and solid and horizontal gradient and vertical gradient.

好吧,但现在我们需要做什么并不重要。
OK, but it doesn't matter now what we need to do.

我们需要学习一般的东西。
We need to learn the general things.

而这还只是房产和房产区域。
And this is just the property and properties area.

另外,呃,你可以在这里看到动画,好的,这个按钮的连接、显示以及动画的移动。
Also, uh, you can see the animations in here, OK, the connections and the display and the movements for the animation to this button.

好的,这个按钮可以转到右侧或左侧或上部和下部以及对我们来说非常重要的动画和事件区域。
OK, this button can go to the right side or left side or upper and lower with the animation and events area that is really important for us.

而文字,首先,按钮是文字的。
And the text, first of all, button is text of.

现在我们可以说这里电机停止了。
So now we can say to here motor stops.

好的,还有莫特。
OK, and Motter.

错了,或者我们可以说停止迫击炮,好吧,在这里我们可以说运行迫击炮。
Wrong, or we can say just stop mortar, OK, and in here we can say run mortar.

这是第一件事和第二件事,外观和设计,焦点,颜色和焦点,光线和一般和层次,税务表格和安全以及接下来的事情。
This is the first thing and the second thing, the appearance and the design, the focus, color and focus, light and the general and layers and the tax forms and security and the next things in here.

但是,呃,对于我来说,这些对于我来说确实暂时不重要。
But, uh, for me, these are really not important for me for a moment.

因为为什么?
Because of why?

因为文本格式,例如,或者看起来像这样。
Because of the text format, for example, or it seems like this.

好的,但我们可以将其更改为 17 或 23。
OK, but we can change it to, for example, to 17 or let's say 23.

这是大小、斜体和塔霍马,好吧,说它已经改变了。
This is the Size and Italic and Tahoma, OK, and say it's changed.

但对我来说,重要的是按钮和按钮的激活,我们能做什么?
But for me, the important thing for the button and button's activation, what can we do?

我们可以去参加活动。
We can go to events.

这真的很重要。
This is really important.

当有人按下或单击,单击或按下或松开他的手时,呃,我们会做什么?
When somebody's pressed or clicked, clicked or pressed or release his hand, uh, what will we do?

会发生什么?
What will happen?

比如点击就是按一按也行。
For example, the click is just press one press also.

这两个,嗯,也许我们可以说非常非常相似,激活和停用。
And this two, um, maybe we can say very, very similar and activate and deactivate.

我们会怎样做?
What will we do?

呃,在 p.l.c. 中会激活什么?
What will activate, uh, for in the p.l.c.

或者我们要激活或停用什么。
or what we are going to activate or deactivate.

好吧,改变,我们会改变什么。
OK, and the change, what will we change.

我们将从这里添加一个函数。
We will add a function from here.

假设我们将单击,将发生的事情是现在您将看到整个系统功能和警报以及计算、脚本和编辑位以及所有这些的其余部分。
Let's say we will we will click and what will happen is now you will see the whole system functions and alarms and the calculations, scripts and edit bits and the rest of all this here.

但首先,基本上我们将学习编辑位,好吧,我们要做什么?
But firstly and basically we will learn the edit bits, OK, what will we do?

例如,我们将反转我们要反转的位。
We will invert, for example, which bit we are going to invert.

我们来到这里,让我们点击这里的时候进行选择。
Let's come to here and let us selected when we click to here.

好的,你会看到文字。
OK, you will see the text.

没有,但是攻击高了就没有了。
No, but there is no attack in the high.

好的,及时您会看到一个洞被选中,但没有选择任何内容。
OK, in time you will see a hole takes and nothing is selected.

因此,我们刚刚在这里采用了自杀式袭击中的文本以及整个文本,在这里您将看到采取的定义。
So we just adopted our text in the suicide attacks in here and the whole text and in here you will see to take is defined.

因此,我们需要在规则屏幕中转到此处,我们将从 take 到 that 到并排左键单击一次,您将在此处看到 p.l.c。
So we need to go here in our rule screen and we will select from take to to that to side by side left click once and you will see in here p.l.c.

在这里,凯尔西和凯尔西文本和文本中选择确定,您将看到默认的选择表,我们将选择我们的启动电机。
takes OK in here, Kelsey and Kelsey text and the text, you will see the default take table and we will select our start motor.

好的,并接受它。
OK, and accept it.

并且必须定义到这里。
And it must be defined to here.

我们需要再等一下。
We need to wait a little bit more.

好的,这个已经定义了。
OK, this is defined.

好的,这已经完成了,当我们点击这个按钮时我们会做什么?
OK, so this is laded and what will we do when we click to this button?

伊朗会发生什么?
What will happen in Iran?

叙利亚?
Syria?

我只是在寻找。
I'm just searching.

它不再适应这里了。
It is not adapted to here just once more.

再次启动Motter,好吗?
Again, start Motter, OK?

明确了国家座右铭。
State motto is defined.

让我们转到区域,这已经定义好了,现在我们也可以从这里添加一个开关。
Let's go to area and this is defined, OK, and we can now add one more switch also from here.

这是我们的萨维奇,这不是公民自由团体,这是一个按钮。
This is our Savitch, not this is not the civil liberties groups, this this was a button and.

我只是。
I'm just.

看着我的suich。
Looking to my suich.

符号在这里。
Symbol in here.

日期和时间,也许是这个。
Date and time, maybe this one.

好的。
OK.

所以这是一个开关,打开他,好吧,他们也可以使用它,而且我们也可以在事件区域中看看以进行更改,打开和关闭以及激活和激活和更改。
So this is a switch on and off, switch on the himI, OK, and they can also use it, but also we can just take a look in the events area to change, switch on and switch off and activate and activate and change.

我们将在变革开始时做什么,或者我们将出现一点变革,我们将反转哪一点。
What will we do in the change is started or it's change that we will emerge a bit, which bit we are going to invert.

我们将再次进入科技领域,现在由中华人民共和国接管。
We will go to the tech area again and now the PRC takes over.

我们可以从这里选择,我接受,OK,输入,就通过了。
We can select from here and I will accept it, OK, and enter and it is adopted.

好吧,现在我们能做什么?
OK, now what can we do?

我们可以去网上专区。
We can go to online area.

这真的很重要。
This is really important.

而模拟我们采取的是模拟器。
And the simulation we take simulator.

OK,现在模拟器已经启动并开始模拟了。
OK, now in the simulator it is started and start simulation.

所以现在我们将监控我们的 TAC 并使用模拟器。
So now we will monitor our TAC and take simulator.

它是否正常工作在侧面,它也会避免。
Is it working correctly or not in the side it will avert also.

现在我将从这里开始选择文本。
Now I will select the text from here start.

Matau,这是我们口号的开始。
Matau, this is our tag line start.

那么我们该怎么办呢?
So what will we do?

我们将转到我们的屏幕。
We will go to our screen.

这是我们的屏幕。
This is our screen.

当它开始时,它会看起来像这样,我会让它像这样。
When it's started it will appear like this and I will make this like this.

好的,现在停止电机,当我单击它时启动电机,以便您可以看到当前值。
OK, now stop motor, start motor when I click to it so you can see the current value.

好的,在这里你可以关注它。
OK, in here you can follow it.

当我点击它时,只需听一下当前值即可。
Just look to hear current value when I click to it.

现在当前值为 1。
Now the current value is one.

当我松开手时,我离开时的值为零。
When I released my hand it is zero when I left.

再次点击它,它就是一个。
Click to it once more it is one.

然后当我松开手时,它为零,现在我开始了。
And then when I released my hand it is zero and now I make this on.

好的,这是开关,一关一关。
OK, this is the switch is one and off and on and off.

您可以看到当前值。
You can see the current value.

所以它也在改变。
So it's changing also.

过去的情况正在发生变化。
It's changing in the past.

你可以这样想。
You can think it like this.

好的,我也会说不,这只是一个按钮,我将转到该按钮的属性。
OK, and also I will say no, this is all just a button and I will go to properties of this button.

所以当我们点击时我们正在做的事情正在发生。
So what we are doing when we are click, this is happening.

让我们从这里开始吧。
Let's take it from here.

嗯,倒过来了,我删除了,好吧,我一按,我就,嗯,稍微改一下。
Um, inverted, I deleted it, OK, when I pressed, I will just, um, changed in a bit.

随着压力的增加,当我按下这个按钮时,会发生什么,我会的。
With the with the press, when I press this button, what will happen, I will.

在这种情况下,该电机被激活,并且在“停止电机”(此处的文本区域)中,停止电机并运行电机。
In this case, that motor is activated and in Stop Motor, the text area in here, stop motor and run motor.

这是关于让我们改变的文字。
This is text on and text of let's change.

呃,我们检查一下这里一切是否正常,然后上网用模拟器模拟一下。
Uh, let's check the everything in here seems OK then go online and the simulation with a simulator.

现在正在编译,编译已经开始,我会再说一次,好的,现在开始了。
Now it's compiling and the compilation is started and I will say OK, again, it's starting now.

当我们点击时我们会做什么。
What will we do when we click.

你看当我按下会发生什么时会发生什么。
You see what's happened when I pressed what will happen.

现在我们将看到,我将选择它启动的“启动电机”,并将其设置为该电机的当前值。
We will see now I will select Start Motor it started and make it like this the current value of this one.

确定,然后单击它的零,然后单击它的一。
OK, and click it's zero and click once it's one.

好吧,现在我不再总是点击了。
OK, now I am not clicking always.

我没有按这个按钮。
I am not pressing this button.

只需单击一下或一处即可。
Just one click or one place.

一处一好,一处小零。
One place is one ok and one small and zero.

又是一个。
And again it's one.

如果我按这个键,什么都不会改变,因为我们已经被覆盖到了这种情况,打开和关闭这个开关和零,再一次它是一,再一次它是零。
If I press this nothing is changing because already we are overwritten to on situation with the, with this switch on and off and zero and once more it's one and once more it's zero.

好吧,又是一个。
OK, and once more it's one.

这是按钮,这是 Hymies 或 H.M.S. 中的开关用法。
So this is the button and this is the switch usage in, in or in Hymies or H.M.S.

在汽车门户网站和海员政策中。
in car portal and also in Seamans policies.

我们可以像这样创建很多按钮和很多开关。
And we can create a lot of buttons and a lot of switches with like this.

我们可以定义我们对 p.l.c. 的看法。
We can just define our take in the p.l.c.

以及我们需要做什么。
and what we need to do.

我们需要在此处选择按钮或开关。
We need to select our button or switch in here.

我们需要去这个地区,在这个地区,我们需要去参加活动。
We need to go to this area and in this area, we need to go to events.

在这里,我们需要说,好的,当我点击或当我按下或当我松开我的手时或当操作员松开他或她的手或激活并激活并更改此处的某些功能时。
And in this here, we need to say, OK, when I click or when I press or when I release my hand or when when the operator release his hand or her hand or activate and activate and change some functions in here.

我们可以像这样控制我们的脉冲和机器。
And we can control our pulse and the machines with like this.

与英国皇家海军舰艇一起。
With the HMS.

好的,这对我来说是重要的一课,因为我们总是在项目中使用临时按钮和开关。
OK, so this is the important lesson for me, because we are always using the buttons and the switches in the temporal in our projects.

如果您想提供任何反馈,或者有任何问题,或者您有疑问,请快速、快速地直接与我们联系。
If you want to give any feedback or if there's a problem or if you the question, just quick, quickly direct the, uh, contact with us.

好的,我已经完成这个视频了。
OK, I'm finished for this video.

下一个视频见。
See you in the next video.